 <?php
 	function necesar_materiale_second_header( $selected )
    {

		echo "<tr>";
			echo "<td colspan=\"2\" class=\"text1\" height=\"60\" valign=\"top\">";
                echo "<table class=\"mymenu\">";
                echo "<tr>";
					echo "<td><a class=\"mymenu\" ".($selected === 1 ? "id=\"on\"" : "")." href=\"necesar_materiale_add.php?section=1\">Adauga</a></td>";
					echo "<td><a class=\"mymenu\" ".($selected === 2 ? "id=\"on\"" : "")." href=\"necesar_materiale_view.php?section=1\">Istoric</a></td>";
				echo "</tr> ";   
                echo "</table>";
        	echo "</td>";
		echo "</tr>";  
	}
	?>
	